package com.sumainfor.pc.gmio.controller.secretary;
import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.SeDoubtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.io.Serializable;
import java.util.Map;

/**
 * 房源疑问
 */
@RestController
@RequestMapping("/secretary/SeDoubt")
public class SeDoubtController implements Serializable {
    @Autowired
    private SeDoubtService seDoubtService;
    /**
     * 租赁顾问新增房源疑问
     */
    @PostMapping("/addSeDoubt")
    public JsonResult addSeDoubt(@RequestBody Map<String,Object>params){
        return seDoubtService.addSeDoubt(params);
    }
}
